﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WeiXinZhuaFaWang.lib
{
    class HttpSend
    {
        //https://file.wx.qq.com/cgi-bin/mmwebwx-bin/webwxuploadmedia?f=json
        string header = @"OPTIONS /cgi-bin/mmwebwx-bin/webwxuploadmedia?f=json HTTP/1.1
Host: file.wx.qq.com
Connection: keep-alive
Access-Control-Request-Method: POST
Origin: https://wx.qq.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Access-Control-Request-Headers: content-type
Accept: */*
Referer: https://wx.qq.com/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
";
        public void Test()
        {
            HttpHeader http = new HttpHeader("https://file.wx.qq.com/cgi-bin/mmwebwx-bin/webwxuploadmedia?f=json");

            
            //HttpHelper.Post("https://file.wx.qq.com/cgi-bin/mmwebwx-bin/webwxuploadmedia?f=json","")
        }
    }
}
